package org.lmj.dos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.lmj.dos.common.pojo.ProductEntity;

import java.util.List;
import java.util.Map;

public interface ProductMapper extends BaseMapper<ProductEntity> {
    List<ProductEntity> latestProductList();
    List<ProductEntity> productListByType(Map<String,Integer> type);
    List<ProductEntity> searchByKeyword(Map<String,Object> type);
}
